const opts = {
	color: ["#4B98FE", "#00D05E", "#FFAC00", "#FB6A67", "#957BFE", "#00B9FE", "#FE871B", "#00C8B0", "#F674D6"],
	padding: [15, 15, 0, 15],
	dataLabel: false,
	xAxis: {
		disableGrid: true,
	},
	
}
// 累计用户
export const totalOpts = {
	...opts,
	legend: {
		show: false,
		position: "top",
		float: "right",
	},
	extra: {
		column: {
			type: "group",
			width: 18,
			activeBgColor: "#000000",
			activeBgOpacity: 0.04,
		}
	},
	yAxis: {
		gridColor: "rgba(230,230,230,0.6)",
		disabled: false,
		disableGrid: false,
		gridType: 'dash',
		dashLength: '4',
		data: [{
			axisLineColor: "#FFFFFF",
		},],
	},
}
// 收入支出
export const monthOpts = {
	...opts,
	legend: {
		show: true,
		position: "bottom",
		float: "top",
	},
	extra: {
		column: {
			type: "group",
			width: 16,
			activeBgColor: "#000000",
			activeBgOpacity: 0.04,
		}
	},
	yAxis: {
		gridColor: "rgba(230,230,230,0.6)",
		disabled: false,
		disableGrid: false,
		gridType: 'dash',
		dashLength: '4',
		data: [{
			axisLineColor: "#FFFFFF",
		},],
	},
}
// 目标盈利
export const targetOpts = {
	color: ["#4B98FE","#A5CCFF","#FFAC00","#FB6A67","#957BFE","#00B9FE","#FE871B","#00C8B0","#F674D6"],
	padding: [15, 15, 0, 15],
	dataLabel: false,
	legend: {
		show: true,
		position: "top",
		float: "right",
	},
	extra: {
		column: {
			type: "meter",
			width: 18,
			activeBgColor: "#000000",
			activeBgOpacity: 0.04,
			meterBorder: 2,
			meterFillColor: "#4B98FE",
		}
	},
	yAxis: {
	  gridColor: "rgba(230,230,230,0.6)",
	  disabled: false,
	  disableGrid: false,
	  gridType: 'dash',
	  dashLength: '2',
	  data: [{
	    axisLineColor: "#FFFFFF",
	  }, ],
	},
}
// 活跃用户
export const activeOpts = {
	...opts,
	legend: {
	  show: true,
	  position: "top",
	  float: "right",
	},
	extra: {
	  column: {
	    type: "stack",
	    width: 16,
	    activeBgColor: "#000000",
	    activeBgOpacity: 0.04,
	  }
	},
	yAxis: {
		gridColor: "rgba(230,230,230,0.6)",
		disabled: false,
		disableGrid: false,
		gridType: 'dash',
		dashLength: '4',
		data: [{
			axisLineColor: "#FFFFFF",
		},],
	},
}
        // 收益盈亏
export const surplusOpts = {
	...opts,
	yAxis: {
	  gridColor: "rgba(230,230,230,0.6)",
	  disabled: false,
	  disableGrid: false,
	  gridType: 'dash',
	  dashLength: '4',
	  splitNumber: 6,
	  data: [{
	    axisLineColor: "#FFFFFF",
	    min: -60,
	    max: 60
	  }]
	},
	legend: {
	  show: false,
	  position: "top",
	  float: "right",
	},
	extra: {
	  column: {
	    type: "group",
	    width: 18,
	    activeBgColor: "#000000",
	    activeBgOpacity: 0.04,
	  }
	},
}